import { Module } from '@nestjs/common';
import { LoginController } from './login.controller';
import { LoginService } from './login.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from 'src/user/user.entity';
import { Diary, DiaryBill } from 'src/diary/diary.entity';
import { VirtualCharacter } from 'src/virtual-character/virtual-character.entity';
import { DiaryService } from 'src/diary/diary.service';
import { AuthService } from 'src/services/Auth';
import { UserService } from 'src/user/user.service';
import jwt from 'src/config/jwt';

@Module({
  imports: [
    TypeOrmModule.forFeature([User, DiaryBill, Diary, VirtualCharacter]), 
    jwt
  ],
  controllers: [LoginController],
  providers: [LoginService, DiaryService, AuthService, UserService],
})
export class LoginModule { }

